public  class Cat extends Animal{

    static {
        System.out.println("Cat::static {}");
    }

    {
        System.out.println("Cat::{}");
    }


    public Cat(String name,int age) {
        super(name,age);
        System.out.println("Cat带2个参数的构造方法");
    }

    public void mimi() {
        System.out.println(name+"咪咪叫.....");
    }
}

